<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title><?php echo $this->title; ?></title>
    <?php echo $this->headMeta() ?>
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="apple-touch-fullscreen" content="yes" />
	<meta names="apple-mobile-web-app-status-bar-style" content="black-translucent" /> 
    <?php echo $this->headLink() ?>
    <link href="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojox/mobile/themes/iphone/iphone.css" rel="stylesheet"></link>
	<link href="<?php echo $this->layoutUrl; ?>/styles/style.css" rel="stylesheet" />
    <?php echo $this->headStyle() ?>
    <?php echo $this->headScript() ?>
	<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.6.0/dojo/dojo.xd.js" djConfig="isDebug:true, parseOnLoad:true"></script>
		<script type="text/javascript"> 
			// Use the lightweight parser
			dojo.require("dojox.mobile.parser");
			// Require Dojo mobile
			dojo.require("dojox.mobile");
			// Get additional, non-standard dojox.mobile widgets
			dojo.require("dojox.mobile.TabBar");
			//Require the compat if the client isn't Webkit-based
			dojo.requireIf(!dojo.isWebKit,"dojox.mobile.compat");
		</script> 

</head>
<body>

<?php echo $this->layout()->content; ?>

		<!-- the bottom tabbar -->
		<ul dojoType="dojox.mobile.TabBar" id="tabBar" class="tweetviewTabBar" iconBase="<?php echo $this->layoutUrl; ?>/images/iconStrip.png">
			<!-- top left width height -->
			<li dojoType="dojox.mobile.TabBarButton" iconPos1="0,0,29,30" iconPos2="29,0,29,30" selected="true" moveTo="tweets">Tweets</li>
			<li dojoType="dojox.mobile.TabBarButton" iconPos1="0,29,29,30" iconPos2="29,29,29,30" moveTo="mentions">Mentions</li>
			<li dojoType="dojox.mobile.TabBarButton" iconPos1="0,58,29,30" iconPos2="29,58,29,30" moveTo="settings">Settings</li>
		</ul>

</body>
</html>